package com.itheima.a03oopextendsdemo3;

public class Person {
    public String name;
    public int age;

    public Person() {
        System.out.println("Person类的无参构造方法");
    }
    public Person(String name, int age) {
        System.out.println("Person类的构造方法");
        this.name = name;
        this.age = age;
    }
}
